package model;
//   购物车实体类
public class Cart {
    private String bk_cartNum;
    private String bk_cartNum_selected;
    private String c_price_selected;
    private String bk_name;


//  创建有参构造方法和无参构造方法
    public Cart() {
}
    public Cart(String bk_cartNum, String bk_cartNum_selected, String c_price_selected,String bk_name) {
        this.bk_cartNum = bk_cartNum;
        this.bk_cartNum_selected = bk_cartNum_selected;
        this.c_price_selected = c_price_selected;
        this.bk_name = bk_name;
    }
    //    创建get、set方法
    public void setBk_cartNum(String bk_cartNum){
        this.bk_cartNum = bk_cartNum;
    }
    public void Bk_cartNum_selected(String bk_cartNum_selected){
        this.bk_cartNum_selected = bk_cartNum_selected;
    }
    public void C_price_selected(String c_price_selected){
        this.c_price_selected = c_price_selected;
    }
    public void Bk_name(String bk_name){
        this.bk_name = bk_name;
    }

    public String getBk_cartNum() {
        return bk_cartNum;
    }

    public String getBk_cartNum_selected() {
        return bk_cartNum_selected;
    }

    public String getC_price_selected() { return c_price_selected; }
    public String getBk_name() { return bk_name; }


}
